package cn.kgc.servicebase.exceptionhandler;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassName GuliException
 * @Description: TODO
 * @Author :郭建宾
 * @Date 2020/6/25
 * @Version V1.0
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class GuliException extends RuntimeException {


    @ApiModelProperty(value = "状态码")
    private Integer code;

    private String msg; //异常信息
}
